package com.sniper.model;

import java.util.Date;

/**
 * 商品订单
 *
 * @author suzhen
 * @create 2017/10/16
 */
public class DbtGoodsOrder extends BaseEntity {
    private static final long serialVersionUID = 1355331663124366025L;
    private String id;
    /**
     * 交易快照读取当时商品信息，保存到快照
     */
    private DbtGoods goods;
    private Date createTime = new Date();
    private String orderCode;
    private String color;
    private String size;
    /**
     * 商品总价
     */
    private Float brandPrice;
    /**
     * 运费
     */
    private Float freightPrice;
    /**
     * 运费险
     */
    private Float freightInsurance;
    /**
     * 订单总价
     */
    private Float totalPrice;
    /**
     * 具体支付金额
     */
    private Float actualPayment;
    /**
     * 订单结束时间
     */
    private Date orderEndTime;
    /**
     * 用户信息，收货地址
     */
    private String payAddress;
    /**
     * 用户留言
     */
    private String payMsg;
    /**
     * 当前订单状态
     */
    private String status;
    /**
     * 结果
     */
    private Boolean statusResult;
    /**
     * 状态操作日期
     */
    private Date statusDate;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public DbtGoods getGoods() {
        return goods;
    }

    public void setGoods(DbtGoods goods) {
        this.goods = goods;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public Float getBrandPrice() {
        return brandPrice;
    }

    public void setBrandPrice(Float brandPrice) {
        this.brandPrice = brandPrice;
    }

    public Float getFreightPrice() {
        return freightPrice;
    }

    public void setFreightPrice(Float freightPrice) {
        this.freightPrice = freightPrice;
    }

    public Float getFreightInsurance() {
        return freightInsurance;
    }

    public void setFreightInsurance(Float freightInsurance) {
        this.freightInsurance = freightInsurance;
    }

    public Float getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(Float totalPrice) {
        this.totalPrice = totalPrice;
    }

    public Float getActualPayment() {
        return actualPayment;
    }

    public void setActualPayment(Float actualPayment) {
        this.actualPayment = actualPayment;
    }

    public Date getOrderEndTime() {
        return orderEndTime;
    }

    public void setOrderEndTime(Date orderEndTime) {
        this.orderEndTime = orderEndTime;
    }

    public String getPayAddress() {
        return payAddress;
    }

    public void setPayAddress(String payAddress) {
        this.payAddress = payAddress;
    }

    public String getPayMsg() {
        return payMsg;
    }

    public void setPayMsg(String payMsg) {
        this.payMsg = payMsg;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Boolean getStatusResult() {
        return statusResult;
    }

    public void setStatusResult(Boolean statusResult) {
        this.statusResult = statusResult;
    }

    public Date getStatusDate() {
        return statusDate;
    }

    public void setStatusDate(Date statusDate) {
        this.statusDate = statusDate;
    }
}
